package com.sixteen.theGreat.settings.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sixteen.theGreat.workbench.entity.FriendList;
import com.sixteen.theGreat.workbench.entity.Talk;
import com.sixteen.theGreat.workbench.entity.TalkRemark;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
public class User {
    private String userId;
    private String userName;
    private String password;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss",timezone = "GMT+8")
    private Date timeRegister;

    private List<Talk> talkList;

    private List<FriendList> friendListList;

    private List<TalkRemark> talkRemarkList;
}
